package com.doudou.client.client;

import com.doudou.commons.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;


/**
 * @Author: 傻男人
 * @Date: 2020/5/26 11:15
 * @Version: 1.0
 * @Description: 测试client
 */
@FeignClient(name = "auth")
public interface TestClient {

    @GetMapping(value = "/user/test")
    Result<String> testCon(@RequestParam("name")String name);
}
